package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//测试灵魂问题选项
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")
public class Option implements Serializable {

    private ObjectId id;
    private String option;
    private String optionStr;
    private Integer questionNum;

}
